<div class="page-header">
	<ul id="table-tab" class="nav nav-tabs" role="tablist">
		<li role="presentation" class="active"><a href="#platform-tab"
			aria-controls="platform-tab" role="tab" data-toggle="tab">平台管理</a>
		</li>
	</ul>
</div>
<div class="tab-content">
	<div id="platform-tab" class="tab-pane active" role="tabpanel">
		<div class="row">
            <!--搜索域-->
            <div class="col-xs-12">
            	<div class="search-area">
            		<form id="table-platform-search" class="form-inline">
                        <div class="form-group">
                            <label for="platform.name">平台名称：</label>
                            <input type="text" class="form-control input-sm" id="platform.name" name="platform.name" value="" placeholder="">
                        </div>
	                    <button id="btn-platform-search" type="button" class="btn btn-info btn-sm no-border">
	                    	<i class="ace-icon fa fa-search bigger-110"></i>查询
	                    </button>
	                    <div class="form-group pull-right">
                    		<span>查询方式：</span>
                           	<label class="radio-inline">
                           		<input type="radio" name="searchType" value="1" checked="checked"/>精确
                           	</label>
                           	<label class="radio-inline">
                           		<input type="radio" name="searchType" value="0"/>模糊
                           	</label>
                        </div>
                    </form>
                </div>
            </div>
        </div>
		<!-- 数据表格 -->
        <div class="row">
            <div class="col-xs-12">
            	<div id="table-platform-toolbar">
            		<div class="btn-group btn-group-sm">
            			<!-- 
	                    <button id="viewPlatform" class="btn btn-purple btn-sm no-border" >
	                        <i class="ace-icon fa  fa-eye bigger-110 "></i>查看
	                    </button>
	                    <button id="addPlatform" class="btn btn-info btn-sm no-border" 
	                    onclick="goAdd('新增平台', 'system/admin/platform/add', 'table-platform');">
	                        <i class="ace-icon fa fa-plus bigger-110"></i>新增
	                    </button>
	                    <button id="editPlatform" class="btn btn-success btn-sm no-border"
	                    onclick="goUpdate('编辑平台', 'system/admin/platform/edit', 'table-platform');">
	                        <i class="ace-icon fa fa-pencil-square-o bigger-110"></i>编辑
	                    </button>
	                    <button id="delPlatform" class="btn btn-danger btn-sm no-border"
	                    onclick="doDels('system/admin/platform/deletes', 'table-platform');">
	                        <i class="ace-icon fa fa-trash-o bigger-110"></i>删除
	                    </button>
	                     -->
	                     <x:toolbar menuId="${menuId}" elemIds="addPlatform,editPlatform,delPlatform">
	                  	 </x:toolbar>
                    </div>
                </div>
            	<table id="table-platform" 
            			data-toolbar="#table-platform-toolbar" 
            			data-sort-name="sorting" 
            			data-sort-order="asc"
            			data-show-columns="true">
            		 <thead>
                        <tr>
                            <th data-field="state" data-checkbox="true"></th>
                            <th data-width="120"data-field="uuid" data-align="left" data-sortable="false" data-visible="false">平台ID</th>
                            <th data-width="120" data-field="name" data-align="left" data-sortable="false">平台名称</th>
                            <th data-width="60" data-field="sorting" data-align="left" data-sortable="true">平台排序</th>
                            <th data-field="remark" data-align="left" data-sortable="false">平台描述</th>
                        </tr>
                    </thead>
                </table>
            </div>
        </div>
	</div>
</div>

<script type="text/javascript">
$(document).ready(function(){
	initTableList('table-platform','system/admin/platform/dataGrid', 'table-platform-search', 'btn-platform-search');
});
</script>
